import request from '@/utils/request'

export function getQuestionList(data) {
  return request({
    url: 'essay-question/select-page',
    method: 'post',
    data
  })
}

export function deleteQuestionById(data) {
  return request({
    url: 'essay-question/delete',
    method: 'post',
    data
  })
}
// 答题数量统计
export function getQuestionStatistics(data) {
  return request({
    url: 'order/question-tj',
    method: 'post',
    data
  })
}

// 交易统计
export function getOrderStatistics(data) {
  return request({
    url: 'order/tj',
    method: 'post',
    data
  })
}

